-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Winlogbeat] Fix duplicated type entry #10373
Conversation
The type entry was duplicated and had text and keyword. No changed to keyword only.
winlogbeat/_meta/fields.common.yml
Outdated
@@ -184,7 +184,6 @@ | |||
|
|||
- name: xml | |||
type: keyword | |||
type: text |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@andrewkroh Not sure which one was the original intention.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was text
because the value is very long and similar to message
. If you change it to keyword
then ignore_above needs to be increased from our default.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If full text indexing is deemed important here, we should add it as a multi-field at eventlog.xml.text
.
Increasing ignore_above wouldn't help much, I would think.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm also good with keeping this as text (I think at the moment it is text because yaml takes the last definition). I don't really see how this field would be used for aggregations or exact match queries.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
winlogbeat/_meta/fields.common.yml
Outdated
@@ -184,7 +184,6 @@ | |||
|
|||
- name: xml | |||
type: keyword | |||
type: text |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If full text indexing is deemed important here, we should add it as a multi-field at eventlog.xml.text
.
Increasing ignore_above wouldn't help much, I would think.
I changed this back to text as I think this is really a field that will not be used as keyword and should be text only. So overall this PR is now mainly a cleanup of the fields.yml removing the duplicated entry. |
Merged for now as this is now only a code cleanup. We can continue the discussion here or on the other Winlogbeat PR if needed. |
The type entry was duplicated and had text and keyword. Now changed to keyword only.